package com.jy.modules.cims.data.dto.credit;

import java.util.List;

import com.jy.modules.cims.data.interact.core.BaseHeaderResponseDTO;
import com.jy.modules.cims.data.interact.core.credit.response.ResponseBackCreditValueDTO;
import com.jy.modules.cims.data.interact.core.loan.response.ResponseLoanBuyBackDTO;
import com.jy.modules.cims.data.interact.core.loan.response.ResponseRedemptionCreditDTO;

public class RedeemResultDto extends BaseHeaderResponseDTO {
	private boolean success; // 是否成功
	
	private List<ResponseBackCreditValueDTO> creditList;  //债权转让赎回结果列表
	
	private List<ResponseLoanBuyBackDTO> transferList;    //贷款转出批量回购结果列表
	
	private List<ResponseRedemptionCreditDTO> srTransferList; //债权受让赎回结果列表

	public static RedeemResultDto successRedeemResultDto() {
		RedeemResultDto dto = new RedeemResultDto();
		dto.setSuccess(true);
		return dto;
	}
	
	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public List<ResponseBackCreditValueDTO> getCreditList() {
		return creditList;
	}

	public void setCreditList(List<ResponseBackCreditValueDTO> creditList) {
		this.creditList = creditList;
	}
	
	public List<ResponseLoanBuyBackDTO> getTransferList() {
		return transferList;
	}

	public void setTransferList(List<ResponseLoanBuyBackDTO> transferList) {
		this.transferList = transferList;
	}

	public List<ResponseRedemptionCreditDTO> getSrTransferList() {
		return srTransferList;
	}

	public void setSrTransferList(List<ResponseRedemptionCreditDTO> srTransferList) {
		this.srTransferList = srTransferList;
	}
	
}
